/**
 * 区域导航选择器
 */

if (window.location.href == 'http://jyj.jl.gov.cn/' || window.location.href == 'http://jyj.jl.gov.cn/index.html') {

	_EsdDynamicTransformationScript.navBlock.selector.top = ".header";
	_EsdDynamicTransformationScript.navBlock.selector.nav = ".nav";
	_EsdDynamicTransformationScript.navBlock.selector.footer = ".footer";
	_EsdDynamicTransformationScript.navBlock.selector.main = ".main";

	$(".searchbox").addClass("navBlock");
	$(".nav").addClass("navBlock");
	$(".main").addClass("navBlock");
	$(".footer").addClass("navBlock");
	$(".ttxw").addClass("navBlock");
	$(".tpxw").addClass("navBlock");
	$(".gzdt").addClass("navBlock");
	$(".zyxx").addClass("navBlock");
	$(".part:eq(0) .news:eq(0)").addClass("navBlock");
	$(".jld").addClass("navBlock");
	$(".zwgk").addClass("navBlock");
	$(".zwgk_r .news:eq(0)").addClass("navBlock");
	$(".zwgk_r .news:eq(1)").addClass("navBlock");
	$(".yxmf").addClass("navBlock");
	$(".jygl").addClass("navBlock");
	$(".dwjs_l .news:eq(0)").addClass("navBlock");
	$(".dwjs_l .news:eq(1)").addClass("navBlock");
	$(".part:eq(4) .fr").addClass("navBlock");
	$(".part:eq(5)").addClass("navBlock");
	$(".positon").addClass("navBlock");
}
// -------------------------------二级页选择器------------------------------------
if (window.location.href == 'http://jyj.jl.gov.cn/jgsz/' || window.location.href == 'http://jyj.jl.gov.cn/zwgk/hyzl/' || window.location.href == 'http://jyj.jl.gov.cn/gzdt/'
		|| window.location.href == 'http://jyj.jl.gov.cn/ztbd/' || window.location.href == 'http://jyj.jl.gov.cn/gkxx/' || window.location.href == 'http://jyj.jl.gov.cn/ywgk/'
		|| window.location.href == 'http://jyj.jl.gov.cn/gsgg/' || window.location.href == 'http://jyj.jl.gov.cn/zwgk/ldjz/' || window.location.href == 'http://jyj.jl.gov.cn/dwjs/'
		|| window.location.href == 'http://jyj.jl.gov.cn/hgzl/' || window.location.href == 'http://jyj.jl.gov.cn/wshd/jzxx/' || window.location.href == 'http://jyj.jl.gov.cn/wshd/yjzj/'
		|| window.location.href == 'http://jyj.jl.gov.cn/wshd/zxzx/') {
	_EsdDynamicTransformationScript.navBlock.selector.top = ".header";
	_EsdDynamicTransformationScript.navBlock.selector.nav = ".nav";
	_EsdDynamicTransformationScript.navBlock.selector.footer = ".footer";
	_EsdDynamicTransformationScript.navBlock.selector.main = ".main";
	_EsdDynamicTransformationScript.navBlock.selector.left = ".zwgk";
	_EsdDynamicTransformationScript.navBlock.selector.right = ".zwgk_r";
	$(".searchbox").addClass("navBlock");
	$(".nav").addClass("navBlock");
	$(".main").addClass("navBlock");
	$(".footer").addClass("navBlock");
	$(".positon").addClass("navBlock");
	$(".zwgk").addClass("navBlock");
	$(".zwgk_r").addClass("navBlock");
}


//面包屑导航（除首页）
if( $(".CurrChnlCls").length > 0 ){
	
	//目录页的翻页input处理
	$("#num").attr("title","跳转到第多少页");
	$("#num").attr("placeholder","跳转到第多少页");
	$(".zt9 input[type='submit']").attr("title","提交");
	$(".zt9 input[type='submit']").attr("placeholder","提交");
	
	_EsdDynamicTransformationScript.navBlock.selector.top = ".header";
	_EsdDynamicTransformationScript.navBlock.selector.nav = ".nav";
	_EsdDynamicTransformationScript.navBlock.selector.footer = ".footer";
	_EsdDynamicTransformationScript.navBlock.selector.main = ".main";
	_EsdDynamicTransformationScript.navBlock.selector.left = ".zwgk";
	_EsdDynamicTransformationScript.navBlock.selector.right = ".zwgk_r";
	_EsdDynamicTransformationScript.navBlock.selector.content="#zoom";
	
	$(".header").addClass("navBlock");
	$(".nav").addClass("navBlock");
	$(".footer").addClass("navBlock");
	$(".main").addClass("navBlock");
	$(".zwgk").addClass("navBlock");
	$(".zwgk_r").addClass("navBlock");
	$("#zoom").addClass("navBlock");
	
	_EsdDynamicTransformationScript.navBlock.selector.activate = ".navBlock"; //激活的采用class因为会激活多个
}


